/*FILE UPDATE INFO**************************************************************
 * Author   : PURESUN
 * Update   : 2023-12-27
 * Info     : coating process component config template
 * Version  : 1.0.0
 ******************************************************************************/

/* How to use ------------------------------------------------------------------
 * 1. copy this file to your project as coating_pro_conf.h
 * 2. modify the configures
 ------------------------------------------------------------------------------*/

/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __COATING_PRO_CONF_H__
#define __COATING_PRO_CONF_H__

/* Includes ------------------------------------------------------------------*/

/* Exported macro ------------------------------------------------------------*/
#define MAX_PRO_NAME_LEN 64
#define MAX_PRO_DESCRIPTION_LEN 256
#define MAX_STEP_NOTES_LEN 256
#define MAX_STEPS_COUNT 32

#define COATING_PRO_JSON_PATH_MAX_LEN 256

#define DEFAULT_COPRO_ID 1 // default coating process id, if not found in json file or not a number, the first coating process id is 1
#define DEFAULT_COPRO_NAME "not set"
#define DEFAULT_COPRO_DESCRIPTION "not set"
#define DEFAULT_COPRO_STEPS_COUNT 0

#define DEFAULT_STEP_ID 0 // default step id, if not found in json file or not a number, the first step id is 1
#define DEFAULT_STEP_STATUS false
#define DEFAULT_STEP_DURATION 0
#define DEFAULT_STEP_COOLDOWN 0
#define DEFAULT_STEP_NOTES "not set"
#define DEFAULT_STEP_CURRENT 0

#define DEFAULT_STEP_DURATION_MIN 0    // default step duration min value, unit is second, range is 0 ~ 3600 from 0s ~ 3600s
#define DEFAULT_STEP_DURATION_MAX 3600 // default step duration max value, unit is second, range is 0 ~ 3600 from 0s ~ 3600s
#define DEFAULT_STEP_COOLDOWN_MIN 0    // default step cooldown min value, unit is second, range is 0 ~ 3600 from 0s ~ 3600s
#define DEFAULT_STEP_COOLDOWN_MAX 3600 // default step cooldown max value, unit is second, range is 0 ~ 3600 from 0s ~ 3600s
#define DEFAULT_STEP_CURRENT_MIN 0     // default step current min value, unit is dA, range is 0 ~ 5000 from 0.00A ~ 50.00A
#define DEFAULT_STEP_CURRENT_MAX 5000  // default step current max value, unit is dA, range is 0 ~ 5000 from 0.00A ~ 50.00A

/* Exported typedef ----------------------------------------------------------*/

/* Exported types ------------------------------------------------------------*/

/* Exported constants --------------------------------------------------------*/

/* Exported variables --------------------------------------------------------*/

/* Exported functions ------------------------------------------------------- */

#endif // __COATING_PRO_CONF_H__
/************************ (C) COPYRIGHT PURESUN *****END OF FILE***************/
